package edu.pxxy.yl.domain;


public class Food {

    private Integer id;

    private String foodname;

    private Double foodprice;

    private Integer count;

    @Override
    public String toString() {
        return "Food{" +
                "_id=" + id +
                ", foodname='" + foodname + '\'' +
                ", foodprice=" + foodprice +
                ", count=" + count +
                '}';
    }

    public Food() {
    }

    public Food(String foodname, Double foodprice, Integer count) {
        this.foodname = foodname;
        this.foodprice = foodprice;
        this.count = count;
    }

    public Integer get_id() {
        return id;
    }

    public void set_id(Integer _id) {
        this.id = _id;
    }

    public String getFoodname() {
        return foodname;
    }

    public void setFoodname(String foodname) {
        this.foodname = foodname;
    }

    public Double getFoodprice() {
        return foodprice;
    }

    public void setFoodprice(Double foodprice) {
        this.foodprice = foodprice;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }
}
